package commons.business_db.interfaces;

import business.entities.Article;
import service.exceptions.DBWritingException;
import service.exceptions.EmptyDBException;
import service.exceptions.NotHereException;

public interface DBConnection {

	public void articleToDB(Article art) throws DBWritingException;	
	public Article getArticle(int primaryKey) throws NotHereException;
	public Article[] getAllArticles() throws EmptyDBException;
	public void deleteArticle(int primaryKey) throws DBWritingException, NotHereException;
}
